﻿# A
snippet author
	/**
	 * ${1}
	 *
	 * @author LiQingZhong
	 */
#C
snippet case
	case ${1:value}:${2} break;
# F
snippet for
	for (int ${1:i} = 0; $1 < ${2:array}.length; $1++) {
		${3}
	}
snippet foreach
	for (${1:iterable_type} ${2:iterable_element} : ${3:iterable}) {
		${4}
	}
# G
snippet get
	public ${1:String} get${2:Filed}() {
		return ${3:filed};
	}
# I
snippet if
	if (${1:condition}) {
		${2}
	} 
# M
snippet main
	public static void main (String [] args)
	{
		${1:/* code */}
	}
# N
snippet new
	${1:type} ${2:name} = new $1(${3});
# S
snippet sysout
	System.out.prinln(${1});${2}
snippet set
	public void set${1:Filed}(${2:String} ${3:filed}) {
		this.$3 = $3;
	}
snippet switch
	switch (${1:key}) {
		case ${2:value}: ${3}
			break;
		default:
			break;
	}
	
# T
snippet try
	try {
		${1}
	} catch (${2:Exception} ${3:e}) {
		${4://TDDO: handle exception}
	} 
snippet tryf
	try {
		${1}
	} catch (${2:Exception} ${3:e}) {
		${4://TDDO: handle exception}
	} finally {
		${5}
	}
snippet po
	protected
snippet pr
	private
snippet st
	static
snippet fi
	final
snippet ab
	abstract
snippet re
	return
snippet br
	break;
snippet de
	default:
		${1}
snippet ca
	catch(${1:Exception} ${2:e}) ${3}
snippet th
	throw 
snippet sy
	synchronized
snippet im
	import
snippet j.u
	java.util
snippet j.i
	java.io.
snippet j.b
	java.beans.
snippet j.n
	java.net.
snippet j.m
	java.math.
snippet elif
	else if (${1}) ${2}
snippet wh
	while (${1}) ${2}
snippet fore
	for (${1} : ${2}) ${3}
snippet sw
	switch (${1}) ${2}
snippet cs
	case ${1}:
		${2}
	${3}
snippet tc
	public class ${1:`Filename()`} extends ${2:TestCase}
snippet t
	public void test${1:Name}() throws Exception ${2}
snippet cl
	class ${1:`Filename("", "untitled")`} ${2}
snippet in
	interface ${1:`Filename("", "untitled")`} ${2:extends Parent}${3}
snippet m
	${1:void} ${2:method}(${3}) ${4:throws }${5}
snippet v
	${1:String} ${2:var}${3: = null}${4};${5}
snippet co
	static public final ${1:String} ${2:var} = ${3};${4}
snippet cos
	static public final String ${1:var} = "${2}";${3}
snippet as
	assert ${1:test} : "${2:Failure message}";${3}
